﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using CurriculasEntities;

namespace CurriculasDAO
{
    public class SilaboMap : EntityTypeConfiguration<SilaboBE>
    {
        public SilaboMap()
            : base()
        {
            ToTable("TB_GC_11_Silabo", "dbo");
            HasKey(s => s.codSilabo);
            Property(s => s.codSilabo)
                .HasColumnName("codSilabo")
                .IsRequired();
        }
    }
}
